package com.x.ant.model;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;

import java.math.BigDecimal;
import java.util.Date;

@MappingTable(tableName = "BASE_TEMPLATE_VALUE")
public class TemplateValue extends BaseObject {
	@MappingColumn(columnName = "TEMPLATE_ID", columnPk = true)
	private Integer templateId;

	@MappingColumn(columnName = "ROW_ID", columnPk = true)
	private String rowId;

	@MappingTable(tableName = "BASE_TEMPLATE_VALUE_FK")
	private TemplateValueFk templateValueFk;

	@MappingColumn(columnName = "COLUMN_ID", columnPk = true)
	private Integer columnId;

	@MappingTable(tableName = "ESTATE_TEMPLATE_COLUMN")
	private TemplateColumn templateColumn;

	@MappingColumn(columnName = "COLUMN_VALUE_STR")
	private String columnValueStr;

	@MappingColumn(columnName = "COLUMN_VALUE_NUM")
	private BigDecimal columnValueNum;

	private String conditionStr;

	public TemplateValue() {
	}

	public Integer getTemplateId() {
		return templateId;
	}

	public void setTemplateId(Integer templateId) {
		this.templateId = templateId;
	}

	public TemplateValueFk getTemplateValueFk() {
		return templateValueFk;
	}

	public void setTemplateValueFk(TemplateValueFk templateValueFk) {
		this.templateValueFk = templateValueFk;
	}

	public Integer getColumnId() {
		return columnId;
	}

	public void setColumnId(Integer columnId) {
		this.columnId = columnId;
	}

	public TemplateColumn getTemplateColumn() {
		return templateColumn;
	}

	public void setTemplateColumn(TemplateColumn templateColumn) {
		this.templateColumn = templateColumn;
	}

	public String getRowId() {
		return rowId;
	}

	public void setRowId(String rowId) {
		this.rowId = rowId;
	}

	public String getColumnValueStr() {
		return columnValueStr;
	}

	public void setColumnValueStr(String columnValueStr) {
		this.columnValueStr = columnValueStr;
	}

	public BigDecimal getColumnValueNum() {
		return columnValueNum;
	}

	public void setColumnValueNum(BigDecimal columnValueNum) {
		this.columnValueNum = columnValueNum;
	}

	public String getConditionStr() {
		return conditionStr;
	}

	public void setConditionStr(String conditionStr) {
		this.conditionStr = conditionStr;
	}
}
